package org.lyq.erp.config.constant;

public class ConfigConstant {

	// session中存储登录用的的key值
	public static final String USER_LOGIN = "userLogin";
	
	public static final String LONG_DISTANCE_LANDING="long_distance_landing";
	
	// 1代表不用重新登录
	public static final String STATUS_ID_1 = "1";
	
	// 0代表要重新登录
	public static final String STATUS_ID_0 = "0";

	// 所有资源存储名字
	public static final String ALL_RES = "allRes";

	// 个人的资源存储名字
	public static final String MY_ALL_RES = "myAllRes";

	// 登录过程中错误的次数
	public static final String ERROR_COUNT = "error_count";

	// cookie的名字（该cookie中存储redis的key值，该key值对应的value是图片验证码）
	public static final String CAPTCHACODE_UUID = "CaptchaCode";

	// cookie的名字（该cookie存储的是登录用户的用户名和密码信息）
	public static final String COOKIE_USERNAME_AND_PASSWORD = "usernameAndPassword";

	// cookie的名字（该cookie中存储redis的key值，该key值对应的value是短信验证码）
	public static final String COOKIE_CHECKCODETELE_UUID = "checkcodeUuid";

	// 禁止上传文件
	public static final String NOT_AGREE_FILES = "notAgreeFiles";
	
	// 允许上传的时间参数
	public static final String AGREE_FILES = "AgreeFiles";
	
	// 文件的上传次数
	public static final String UPDATE_COUNT = "updateCount";
	
	// ModelMap 请求返回数据的key值
	public static final String DATA_BEAN = "dataBean";
	
	// 存储所有菜单在session中的key值
	public static final String ALL_MENUS_LIST = "allMenus";

	public static final String USER_SPLIT = "==";
	
	// 登陆最大错误次数
	public static final Integer MAX_ERROR_COUNT = 3;
	
	public static final String ADMIN_ID="admin_id";
	
	//配置文件中店铺名的key值
	public static final String SHOP_NAME ="shop_name";

	//字符串切割符号
	public static final String SPLIT_STR=",";
	
	//系统配置文件文
	public static final String CONFIG_PROPERTIRS_FILE_NAME="config.properties";
	
	//系统中拦截器不拦截的请求,key值常量
	public static final String DONOT_INTERCEPTOR_URL="donot_interceptor_url";
	
	public static final String IS_INTERCEPTOR_LOGINOUT_URL="is_interceptor_loginout_url";
	
	public static final String LOGIN_URL="/login";
	
	public static final String LOGIN_SUBMIT_URL="/loginSubmit";
	
}
